package com.moliku.insurance.model.entity.eastSea.check;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.io.Serializable;

/**
 * @author 七分
 * @version 1.0
 * @date 2021/3/15 10:33
 * @effect 东海批改 投/被保险人关系信息
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "policyRelation")
@XmlType(propOrder = {
        "insuredName",
        "identifyType",
        "identifyNumber",
        "birthDate",
        "identifyStartDate",
        "identifiyEndDate",
        "mobile",
        "contactName",
        "taxPayerInd",
        "taxNum",
        "taxAddress",
        "taxPhone",
        "taxPayBig",
        "payPaySmall",
        "taxBankAccount",
        "address",
        "flag",
        "email",
        "endorseFlag",
        "type"
})
public class PolicyRelation implements Serializable {

    private static final long serialVersionUID = 7639513363892947210L;
    /**
     * 姓名
     */
    @XmlElement(required = true, name = "insuredName", nillable = true)
    private String insuredName;
    /**
     * 证件类型
     */
    @XmlElement(required = true, name = "identifyType", nillable = true)
    private String identifyType;
    /**
     * 证件号码
     */
    @XmlElement(required = true, name = "identifyNumber", nillable = true)
    private String identifyNumber;
    /**
     * 生日
     */
    @XmlElement(required = true, name = "birthDate", nillable = true)
    private String birthDate;
    /**
     * 电话
     */
    @XmlElement(required = true, name = "mobile", nillable = true)
    private String mobile;
    /**
     * 联系人
     */
    @XmlElement(required = true, name = "contactName", nillable = true)
    private String contactName;
    /**
     * 纳税人身份
     */
    @XmlElement(required = true, name = "taxPayerInd", nillable = true)
    private String taxPayerInd;
    /**
     * 纳税人识别号
     */
    @XmlElement(required = true, name = "taxNum", nillable = true)
    private String taxNum;
    /**
     * 纳税人地址
     */
    @XmlElement(required = true, name = "taxAddress", nillable = true)
    private String taxAddress;
    /**
     * 纳税人电话
     */
    @XmlElement(required = true, name = "taxPhone", nillable = true)
    private String taxPhone;
    /**
     * 纳税人银行大类
     */
    @XmlElement(required = true, name = "taxPayBig", nillable = true)
    private String taxPayBig;
    /**
     * 纳税人银行小类
     */
    @XmlElement(required = true, name = "payPaySmall", nillable = true)
    private String payPaySmall;

    /**
     * 纳税人银行账户
     */
    @XmlElement(required = true, name = "taxBankAccount", nillable = true)
    private String taxBankAccount;
    /**
     * 地址
     */
    @XmlElement(required = true, name = "address", nillable = true)
    private String address;
    /**
     * 标志位 1投保 2被保
     */
    @XmlElement(required = true, name = "flag", nillable = true)
    private String flag;
    /**
     * 电子邮箱
     */
    @XmlElement(required = false, name = "email", nillable = true)
    private String email;
    /**
     * 投保人类型   1 个人 2团体
     */
    @XmlElement(required = true, name = "type", nillable = true)
    private String type;

    /**
     * 证件起期
     */
    @XmlElement(required = true, name = "identifyStartDate", nillable = true)
    private String identifyStartDate;
    /**
     * 证件终止
     */
    @XmlElement(required = true, name = "identifiyEndDate", nillable = true)
    private String identifiyEndDate;
    /**
     * 批改标志位
     */
    @XmlElement(required = true, name = "endorseFlag", nillable = true)
    private String endorseFlag;
}